SftTree/NET 2.0

OnDragLeave Method, SftTree Class

Softel vdm, Inc.

Raises the DragLeave event.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Protected Overrides Sub OnDragLeave( ByVal e As EventArgs )

C#   

protected override void OnDragLeave( EventArgs e );

C++   

protected: virtual void OnDragLeave( EventArgs^ e );

e

The event data.

Comments

The OnDragLeave method raises the DragLeave event.

Raising an event invokes the event handler through a delegate.

The OnDragLeave method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

When overriding OnDragLeave in a derived class, make sure to call the base class's OnDragLeave method so that registered delegates receive the event.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com